﻿using System.ComponentModel.DataAnnotations;

namespace AMAP.Areas.Admin.Models.Account
{
    public class AdminAccountEditCoordinatesViewModel
    {
        #region Admin Address
        [Required]
        [Display(Name = "Numéro et nom de rue", Prompt = "Adresse")]
        [MaxLength(100)]
        public string Address1 { get; set; }

        [Display(Name = "Non d'immeuble, étage, ...", Prompt = "Complément d'adresse")]
        [MaxLength(100)]
        public string Address2 { get; set; }

        [Required]
        [Display(Name = "Code postal", Prompt = "Code postal")]
        [MaxLength(5)]
        public string PostalCode { get; set; }

        [Required]
        [Display(Name = "Ville", Prompt = "Ville")]
        [MaxLength(50)]
        public string City { get; set; }

        [Required]
        [Display(Name = "Numéro de téléphone", Prompt = "Fixe ou portable")]
        [MaxLength(13)]
        public string PhoneNumber { get; set; }
        #endregion
    }
}